home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group00b.txt
/
000121_icon-group-sender_Mon Oct 30 08:30:09 2000.msg
< prev
next >
Wrap
Internet Message Format
|
2001-01-03
|
1KB
Return-Path: <icon-group-sender>
Received: (from root@localhost)
by baskerville.CS.Arizona.EDU (8.11.1/8.11.1) id e9UFSAZ25668
for icon-group-addresses; Mon, 30 Oct 2000 08:28:10 -0700 (MST)
Message-Id: <200010301528.e9UFSAZ25668@baskerville.CS.Arizona.EDU>
Delivered-To: fixup-icon-group@CS.Arizona.EDU@fixme
Date: Fri, 27 Oct 2000 19:19:53 -0600
From: Cheyenne Wills <cheyenne_wills@qwest.net>
X-Accept-Language: en
To: icon-group@cs.arizona.edu
Subject: Re: Sweating over scanning?
Errors-To: icon-group-errors@cs.arizona.edu
Status: RO
Content-Length: 814
"William H. Mitchell" wrote
>
> Procedures for changing &pos:
>
> move(n) relative adjustment; string result
> tab(n) absolute adjustment; string result
>
And the result of move and tab is to return a string from the
"subject". The string returned is the string that was "passed" over
doing the move or the tab.
> Procedures often used in conjunction with tab(n):
>
> upto(c) generates positions of characters in c
> many(c) produces position after run of characters in c
> find(s) generates positions of s
> match(s) produces position after s, if s is next
> any(c) produces position after a character in c
And the result of the above is a number
The Icon book has a good chapter on string scanning and how to write
your own string scanning functions
Cheyenne